<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

//登陆功能
Route::resource('login','Login')->allowCrossDomain();
//修改页面
Route::get('changeShow','ChangePwd/index')->allowCrossDomain();
//修改密码页面
Route::get('changePwdShow','ChangePwd/changePwdShow')->allowCrossDomain();
//修改密码接口
Route::post('changePwd','ChangePwd/changePwd')->allowCrossDomain();
//修改手机号页面
Route::get('changeTelShow','ChangeTel/changeTelShow')->allowCrossDomain();
//发送验证码方法
Route::post('sendTel','ChangeTel/sendTel')->allowCrossDomain();
//验证验证码是否正确并进行更改
Route::post('changeTel','ChangeTel/changeTel')->allowCrossDomain();
//输入手机号页面
Route::get('telPage','ChangeTel/telPage')->allowCrossDomain();
//输入手机号并更改
Route::post('changeTelData','ChangeTel/changeTelData')->allowCrossDomain();